From: Giovanni Campagna Date: Fri, 20 Mar 2015 19:57:30 +0000 (-0700) Subject: System: update lock screen at construction X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1402 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8327dbd6111a3a5a411bb00b646fd38225aaba91;p=gnome-shell.git System: update lock screen at construction Will make sure that change notifications are enabled by reading the value at least once https://bugzilla.gnome.org/show_bug.cgi?id=746509 --- diff --git a/js/ui/status/system.js b/js/ui/status/system.js index f5873b8eb..7e3ceec4c 100644 --- a/js/ui/status/system.js +++ b/js/ui/status/system.js @@ -125,6 +125,7 @@ const Indicator = new Lang.Class({ Lang.bind(this, this._updateMultiUser)); this._updateSwitchUser(); this._updateMultiUser(); + this._updateLockScreen(); // Whether shutdown is available or not depends on both lockdown // settings (disable-log-out) and Polkit policy - the latter doesn't